﻿@model IEnumerable<Limestone.IPageStub>
@{
    ViewBag.Title = "Trashcan";
    Layout = "../shared/_Layout.cshtml";
}
<div class="trashcan">
    <h1>
        Trashcan</h1>
    <br />
    <div class="well">
        <button class="btn btn-warning">
            Delete selected</button>
        <button class="btn btn-danger">
            Delete all</button>
    </div>
    <table class="table table-condensed table-striped table-bordered">
        <thead>
            <th>
                Page
            </th>
            <th>
            </th>
        </thead>
        <tbody>
            @foreach (var stub in Model)
            {
                <tr>
                    <td>
                        <input type="checkbox" />
                    </td>
                    <td>@Html.ActionLink(stub.Title, "View", new { path = stub.Path })
                    </td>
                    <td>@stub.Path
                    </td>
                </tr>
            }
        </tbody>
    </table>
</div>
